home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11045 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: columba.udac.uu.se!news
  2. From: Johan Holling <holling@tsl.uu.se>
  3. Newsgroups: comp.unix.programmer,comp.unix.shell,comp.unix.misc,comp.unix.admin,comp.lang.c,comp.lang.java
  4. Subject: Help! Shared library path.
  5. Date: Thu, 21 Mar 1996 15:32:09 +0100
  6. Organization: The Svedberg Lab
  7. Message-ID: <31516869.2DB0@tsl.uu.se>
  8. NNTP-Posting-Host: holling.tsl.uu.se
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=iso-8859-1
  11. Content-Transfer-Encoding: quoted-printable
  12. X-Mailer: Mozilla 2.0 (WinNT; I)
  13.  
  14. I=B4m trying to run a java class that loads a dynamic loadable =
  15.  
  16. library =
  17.  
  18. called j2c but I allways get this msg:
  19.  
  20.     "java.lang.UnsatisfiedLinkError: no j2c in shared library =
  21.  
  22. path"
  23.  =
  24.  
  25. I compiled the files with the command:
  26.  
  27.     "cc -G java2c.c java2c_trig.c -o =
  28.  
  29. /export/home/holling/lib/j2c"
  30.  
  31. My env looks like this:
  32.  
  33. LD_LIBRARY_PATH=3D/export/home/holling/lib:/opt/SUNWspro/lib:/u
  34. sr/openwin/lib:/usr/dt/lib
  35.  
  36. The java and C code all compiled without any problem.
  37.  
  38. If anyone have any ideas how to solve this problem please =
  39.  
  40. contact me.
  41.  
  42. /Johan
  43.  
  44. -- =
  45.  
  46. -------------------------------------------------------------
  47. ----------------
  48. Johan Holling                             Tel:    =
  49.  
  50. +46-18-183445
  51. Uppsala University                        Fax:    =
  52.  
  53. +46-18-183833
  54. The Svedberg Laboratory                   e-mail: =
  55.  
  56. johan.holling@tsl.uu.se
  57. P.O.Box 533, S-751 21 Uppsala, Sweden     =
  58.  
  59. http://www3.tsl.uu.se/~holling
  60.